<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>login</title>
        <link rel="stylesheet" type="text/css" href="main.css"></link>
    </h:head>
    <h:body>
        <h1>Welcome to Twatter!!</h1>
            <div>Identifiez-vous</div>
        <f:view>
            <h:form id="create">
                <h:inputText id="login" value="#{loginenter.login}" /><br/>
                <h:inputText id="password" value="#{loginenter.password}"  /><br/>
                <h:commandButton action="#{loginenter.checkLogin()}"  value="login" /><br/>
            </h:form>
            <p></p>
            <div>Visitez un profil</div>
            <h:form id="visit">
                <h:inputText id="visitor" value="#{loginenter.userVisit}" /><br/>
                <h:commandButton action="#{loginenter.checkLogin()}"  value="visit" />
            </h:form>
        </f:view>
    </h:body>
</html>

